package com.smedi.ismedi.notification.core.domain.service;

import com.smedi.ismedi.notification.core.domain.aggregatemodel.MailTemplate;

/**
 * @version: v1.0.0
 * @author: wzx
 * @date: 2022/11/23 13:33
 * @Description: TODO
 */

public interface MailTemplateDomainService {

    MailTemplate createTemplate(MailTemplate mailTemplate);


    MailTemplate updateTemplate(MailTemplate mailTemplate);

    void deleteTemplate(Long mailTemplateId);

    MailTemplate queryTemplateByMailTemplateId(Long mailTemplateId);

    MailTemplate queryTemplateByMailTemplateName(String mailTemplateName);


}
